package cn.yunhe.bean;

public class Message {
    private Integer messageid;

    private String message;

    private String messagedate;

    private Integer uid;

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Message(Integer messageid, String message, String messagedate, Integer uid) {
        this.messageid = messageid;
        this.message = message;
        this.messagedate = messagedate;
        this.uid = uid;
    }

    public Message() {
        super();
    }

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public String getMessagedate() {
        return messagedate;
    }

    public void setMessagedate(String messagedate) {
        this.messagedate = messagedate == null ? null : messagedate.trim();
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
}